{extend name="default/base/base_joinin" /}
{block name="joinin_main"}

<div class="breadcrumb"><span class="iconfont">&#xe6ff;</span><span><a href="">{$Think.lang.homepage}</a></span> <span class="arrow">></span> <span>{$Think.lang.merchant_entry_application}</span> </div>
<div class="main">
    <div class="sidebar">
        <div class="title">
            <h3>{$Think.lang.merchant_entry_application}</h3>
        </div>
        <div class="content">
            {notempty name="help_list"}
            {foreach name="help_list" item="val" key="key" }
            <dl show_id="{$val.helptype_id}">
                <dt onclick="show_list('{$val.helptype_id}');" style="cursor: pointer;"> <i class="right"></i>{$val.helptype_name}</dt>
                <dd style="display:none;">
                    <ul>
                        {notempty name="$val.help_list"}
                        {foreach name="$val.help_list" item="v" key="k" }
                        <li> <i></i>
                            {notempty name="$val.help_list"}
                            <a href="{:url('Showhelp/index',['t_id'=>$v.helptype_id,'help_id'=>$v.help_id])}" target="_blank">{$v.help_title}</a>
                            {else /}
                            <a href="{$v.help_url}" target="_blank">{$v.help_title}</a>
                            {/notempty}
                        </li>
                        {/foreach}
                        {/notempty}
                    </ul>
                </dd>
            </dl>
            {/foreach}
            {/notempty}
            <dl>
                <dt class="{if $sub_step=='step0'}current{/if}"> <i class="right"></i>{$Think.lang.enter_agreement}</dt>
            </dl>
            <dl show_id="0">
                <dt onclick="show_list('0');" style="cursor: pointer;"> <i class="down"></i>{$Think.lang.submit_application}</dt>
                <dd>
                    <ul>
                        <li class="{if $step=='1'}current{/if}"><i></i>{$Think.lang.company_qualification_information}</li>
                        <li class="{if $step=='2'}current{/if}"><i></i>{$Think.lang.financial_qualification_information}</li>
                        <li class="{if $step=='3'}current{/if}"><i></i>{$Think.lang.store_operation_information}</li>
                    </ul>
                </dd>
            </dl>
            <dl>
                <dt class="{if $step=='4'}current{/if}"> <i class="right"></i>{$Think.lang.contract_signing_payment}</dt>
            </dl>
            <dl>
                <dt> <i class="right"></i>{$Think.lang.store_opening}</dt>
            </dl>
        </div>
        <div class="title">
            <h3>{$Think.lang.platform_contact}</h3>
        </div>
        <div class="content">
            <ul>
                {notempty name="phone_array"}
                {foreach name="phone_array" item="val" key="key" }
                {$Think.lang.phone}{$val}
                {/foreach}
                {/notempty}
                <li>{$Think.lang.email}:{$Think.config.ds_config.site_email}</li>
            </ul>
        </div>
    </div>
    <div class="right-layout">
       <div class="joinin-step">
            <ul>
                <li class="step1 {if $step >= 0}current{/if}"><span>{$Think.lang.enter_agreement}</span></li>
                <li class="{if $step >= 1}current{/if}"><span>{$Think.lang.company_qualification_information}</span></li>
                <li class="{if $step >= 2}current{/if}"><span>{$Think.lang.financial_qualification_information}</span></li>
                <li class="{if $step >= 3}current{/if}"><span>{$Think.lang.store_operation_information}</span></li>
                <li class="{if $step >= 4}current{/if}"><span>{$Think.lang.contract_signing_payment}</span></li>
                <li class="step6"><span>{$Think.lang.store_opening}</span></li>
            </ul>
        </div>
        <div class="joinin-concrete">
            <!--区别部分 BEGIN-->


            
      





            
<div class="explain"><i class="iconfont">&#xe717;</i>{$joinin_message|default=''}</div>
{notempty name="joinin_detail"}
<table border="0" cellpadding="0" cellspacing="0" class="all">
    <tbody>
        <tr>
            <th>{$Think.lang.payment_list}</th>
            <td></td>
        </tr>
        <tr>
            <td colspan="2"><table  border="0" cellpadding="0" cellspacing="0" class="type">
                    <tbody>
                        <tr>
                            <td class="w80">{$Think.lang.fee_standard}：</td>
                            <td class="w250 tl">{$joinin_detail.storegrade_price|default='0'}{$Think.lang.ds_yuan}/{$Think.lang.year} ( {$joinin_detail.storegrade_name} )</td>
                            <td class="w80">{$Think.lang.store_opening_hours}：</td>
                            <td class="tl">{$joinin_detail.joinin_year} {$Think.lang.ds_year}</td>
                        </tr>
                        <tr>
                            <td class="w80">{$Think.lang.store_classification}：</td>
                            <td class="tl">{$joinin_detail.storeclass_name}</td>
                            <td class="w80">{$Think.lang.deposit}：</td>
                            <td class="tl">{$joinin_detail.storeclass_bail} {$Think.lang.ds_yuan}</td>
                        </tr>
                        <tr>
                            <td>{$Think.lang.payable_amount}：</td>
                            <td class="tl" colspan="3">{$joinin_detail.paying_amount} {$Think.lang.ds_yuan}</td>
                        </tr>
                    </tbody>
                </table></td>
        </tr>
        <tr>
            <th>{$Think.lang.business_category_list}</th>
            <td></td>
        </tr>
        <tr>
            <td colspan="2"><table border="0" cellpadding="0" cellspacing="0" id="table_category" class="type">
                    <thead>
                        <tr>
                            <th class="w120 tc">{$Think.lang.one_level_class}</th>
                            <th class="w120 tc">{$Think.lang.two_level_class} </th>
                            <th class="tc">{$Think.lang.three_level_class}</th>
                            <th class="tc">{$Think.lang.commission_ratio}</th>
                        </tr>
                    </thead>
                    <tbody>
                        {notempty name="$joinin_detail.store_class_names"}
                        {php}$store_class_names = @unserialize($joinin_detail['store_class_names']);{/php}
                        {php}$store_class_commis_rates = explode(',', $joinin_detail['store_class_commis_rates']);{/php}
                        {foreach name="store_class_names" item="name" key="k" }
                        {php}$name = explode(',', $name);{/php}
                        <tr>
                            <td>{$name.0|default='0'}</td>
                            <td>{$name.1|default='0'}</td>
                            <td>{$name.2|default='0'}</td>
                            <td>{$store_class_commis_rates[$k]} %</td>
                        </tr>
                        {/foreach}
                        {/notempty}
                    </tbody>
                </table></td>
        </tr>
    </tbody>
    <tfoot>
        <tr>
            <td colspan="20">&nbsp;</td>
        </tr>
    </tfoot>
</table>
{/notempty}
<div class="bottom">
  {if isset($btn_next)}
  <a id="" href="{$btn_next}" class="btn">{$Think.lang.next_step}</a>
  {/if}
</div>













            <!--区别部分 END-->
        </div>
    </div>
</div>


{/block}
